package com.haighcom.service;

import com.haighcom.entity.PageResult;
import com.haighcom.model.CheckGroup;
import com.haighcom.model.CheckItem;

import java.util.List;

public interface CheckGroupService {
    void add(CheckGroup checkGroup,Integer[] checkItemIds);

    PageResult queryPage(Integer currentPage, Integer pageSize, String queryString);

    CheckGroup findById(Integer id);

    List<Integer> findCheckItemsByCheckGroupId(Integer id);

    void edit(CheckGroup checkGroup, Integer[] checkItemIds);

    void deleteById(Integer id);

    List<CheckGroup> findAll();
}
